package com.linkhub.oms.admin.modules.order.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: CustomerOrderCountQueryParam
 * @Author: echo
 * @Date: 2024/4/9 10:06
 * @Version: 1.0
 */
@Data
@ApiModel("CustomerOrderCountQueryParam")
public class CustomerOrderCountQueryParam implements Serializable {

    @ApiModelProperty("菜单id：1-订单列表；2-履约中；3-追踪订单；4-异常订单")
    @NotNull(message = "{validation.order.menuId.notNull}")
    @Range(min = 1, max = 4, message = "{validation.order.menuId.range}")
    private Integer menuId;


    @ApiModelProperty(hidden = true)
    private List<String> sysShopIds;

}
